package com.zzjson.provider;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

import java.io.IOException;

/**
 * <p>****************************************************************************</p>
 * <p><b>Copyright © 2010-2020 shuncom team All Rights Reserved<b></p>
 * <ul style="margin:15px;">
 * <li>Description : com.zzjson.provider</li>
 * <li>Version     : 1.0.0</li>
 * <li>Creation    : 2020年02月23日</li>
 * <li>@author     : zzy0_0</li>
 * </ul>
 * <p>****************************************************************************</p>
 */
public class BootStrap {
	public static void main(String[] args) throws IOException {
		/*IHelloServiceImpl iHelloService = new IHelloServiceImpl();

		RpcProxyServer rpcProxyServer = new RpcProxyServer();

		rpcProxyServer.publisher(iHelloService, 8080);*/

		ApplicationContext context = new AnnotationConfigApplicationContext(SpringConfig.class);
		((AnnotationConfigApplicationContext) context).start();
		System.in.read();
	}
}
